//
//  CTVVideoPlayerController.h
//  Channltv
//
//  Created by Bruno Keymolen on 13/11/07.
//  Copyright 2007 channl.tv. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "CTVChannelSwitchInfoController.h"
#import "CTVChannelInfoOverlayController.h"
#import "CTVClip.h"
#import "CTVChannel.h"


@interface CTVVideoPlayerController : BRVideoPlayerController {
	BOOL m_playClipNext;
	BOOL m_playOtherChannel;
//	BOOL m_playNextChannel;
//	BOOL m_playPrevChannel;
    BOOL m_handleEvent;
	
	CTVChannelSwitchInfoController* m_infoController;
	CTVChannel* m_oldChannel;
	CTVClip* m_clip;	
		
	NSTimer* m_timer;
	NSTimer* m_channelSwitchTimer;
}

-(id)initWithScene: (BRRenderScene *)scene  andClip:(CTVClip*)clip;

-(BOOL)playClipNext;
//-(BOOL)playChannelNext;
//-(BOOL)playChannelPrev;
-(BOOL)playOtherChannel;

-(BOOL)brEventAction:(BREvent*)event;
-(void)wasPushed;
-(void)wasExhumedByPoppingController:(id)controller;
- (void)wasBuriedByPushingController:(id)controller;
-(void)setDelegate:(id)fp8;
-(void)showChannelSwitchContollerTimed;

-(void)_handlePlaybackError:(id)fp8;
-(void)_removeScreenTimed:(NSTimer*)timer;
-(void)_showChannelSwitchContollerTimed:(NSTimer*)timer;

@end
